<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.5"/>
<title>mipicsiss: pipeline_program.c File Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
  $(window).load(resizeHeight);
</script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="HTML_custom.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="xlogo_bg.png"/></td>
  <td style="padding-left: 0.5em;">
   <div id="projectname">mipicsiss
   </div>
   <div id="projectbrief">Vitis Drivers API Documentation</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.5 -->
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Overview</span></a></li>
      <li><a href="annotated.html"><span>Data&#160;Structures</span></a></li>
      <li><a href="globals.html"><span>APIs</span></a></li>
      <li><a href="files.html"><span>File&#160;List</span></a></li>
      <li><a href="pages.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
$(document).ready(function(){initNavTree('pipeline__program_8c.html','');});
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">pipeline_program.c File Reference</div>  </div>
</div><!--header-->
<div class="contents">
<a name="details" id="details"></a><h2 class="groupheader">Overview</h2>
<div class="textblock"><p>This file contains the video pipe line configuration, Sensor configuration and its programming as per the resolution selected by user. </p>
<p>Please see <a class="el" href="pipeline__program_8h.html" title="This header file contains the definitions for structures for video pipeline and extern declarations...">pipeline_program.h</a> for more details.</p>
<pre>
MODIFICATION HISTORY:</pre><pre>Ver   Who    Date     Changes
</p>
<hr/>
<p>
1.00  pg    12/07/17 Initial release.
</pre> </div><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:a5029f37b87848470fe3f36f722c75b90"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#a5029f37b87848470fe3f36f722c75b90">SensorWriteData</a> (u16 ByteCount)</td></tr>
<tr class="memdesc:a5029f37b87848470fe3f36f722c75b90"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function writes a buffer of data to the IIC serial sensor.  <a href="#a5029f37b87848470fe3f36f722c75b90">More...</a><br/></td></tr>
<tr class="separator:a5029f37b87848470fe3f36f722c75b90"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4e91fc11192ec41418d32f523f3ca435"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#a4e91fc11192ec41418d32f523f3ca435">SensorReadData</a> (u8 *BufferPtr, u16 ByteCount)</td></tr>
<tr class="memdesc:a4e91fc11192ec41418d32f523f3ca435"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function reads data from the IIC serial Camera Sensor into a specified buffer.  <a href="#a4e91fc11192ec41418d32f523f3ca435">More...</a><br/></td></tr>
<tr class="separator:a4e91fc11192ec41418d32f523f3ca435"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9909ac1b3c8acfa727d8b5d0bd7eda39"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#a9909ac1b3c8acfa727d8b5d0bd7eda39">SetupCameraSensor</a> (void)</td></tr>
<tr class="memdesc:a9909ac1b3c8acfa727d8b5d0bd7eda39"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function setup Camera sensor programming wrt resolution selected.  <a href="#a9909ac1b3c8acfa727d8b5d0bd7eda39">More...</a><br/></td></tr>
<tr class="separator:a9909ac1b3c8acfa727d8b5d0bd7eda39"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1f5ca95d93d51e6aeaa5b5e53b226ac5"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#a1f5ca95d93d51e6aeaa5b5e53b226ac5">InitIIC</a> (void)</td></tr>
<tr class="memdesc:a1f5ca95d93d51e6aeaa5b5e53b226ac5"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes IIC controller and gets config parameters.  <a href="#a1f5ca95d93d51e6aeaa5b5e53b226ac5">More...</a><br/></td></tr>
<tr class="separator:a1f5ca95d93d51e6aeaa5b5e53b226ac5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af24a60bdd8657b70cd5138a7db89ef6c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#af24a60bdd8657b70cd5138a7db89ef6c">SetupIICIntrHandlers</a> (void)</td></tr>
<tr class="memdesc:af24a60bdd8657b70cd5138a7db89ef6c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets send, receive and error handlers for IIC interrupts.  <a href="#af24a60bdd8657b70cd5138a7db89ef6c">More...</a><br/></td></tr>
<tr class="separator:af24a60bdd8657b70cd5138a7db89ef6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21ee37887dab63622f890ae50ffaccee"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#a21ee37887dab63622f890ae50ffaccee">ConfigCSC</a> (u32 width, u32 height)</td></tr>
<tr class="memdesc:a21ee37887dab63622f890ae50ffaccee"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function programs colour space converter with the given width and height.  <a href="#a21ee37887dab63622f890ae50ffaccee">More...</a><br/></td></tr>
<tr class="separator:a21ee37887dab63622f890ae50ffaccee"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa251d18c526e8bb62900891757ee18fb"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#aa251d18c526e8bb62900891757ee18fb">ConfigGammaLut</a> (u32 width, u32 height)</td></tr>
<tr class="memdesc:aa251d18c526e8bb62900891757ee18fb"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function programs colour space converter with the given width and height.  <a href="#aa251d18c526e8bb62900891757ee18fb">More...</a><br/></td></tr>
<tr class="separator:aa251d18c526e8bb62900891757ee18fb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5cc10afcf20d68eb7ad335b5a6ef4c13"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#a5cc10afcf20d68eb7ad335b5a6ef4c13">ConfigDemosaic</a> (u32 width, u32 height)</td></tr>
<tr class="memdesc:a5cc10afcf20d68eb7ad335b5a6ef4c13"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function programs colour space converter with the given width and height.  <a href="#a5cc10afcf20d68eb7ad335b5a6ef4c13">More...</a><br/></td></tr>
<tr class="separator:a5cc10afcf20d68eb7ad335b5a6ef4c13"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abf6ef522f31c833d9f931f5d9a8b976c"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#abf6ef522f31c833d9f931f5d9a8b976c">FrmbufwrDoneCallback</a> (void *CallbackRef)</td></tr>
<tr class="memdesc:abf6ef522f31c833d9f931f5d9a8b976c"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is called when a Frame Buffer Write Done has occurred.  <a href="#abf6ef522f31c833d9f931f5d9a8b976c">More...</a><br/></td></tr>
<tr class="separator:abf6ef522f31c833d9f931f5d9a8b976c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d3f9370f5f5df1e96d9d2ca884b746e"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#a2d3f9370f5f5df1e96d9d2ca884b746e">FrmbufrdDoneCallback</a> (void *CallbackRef)</td></tr>
<tr class="memdesc:a2d3f9370f5f5df1e96d9d2ca884b746e"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function is called when a Frame Buffer Read Done has occurred.  <a href="#a2d3f9370f5f5df1e96d9d2ca884b746e">More...</a><br/></td></tr>
<tr class="separator:a2d3f9370f5f5df1e96d9d2ca884b746e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9698d142e2ca5e8ef2fc0a39521abdb2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#a9698d142e2ca5e8ef2fc0a39521abdb2">DisableImageProcessingPipe</a> (void)</td></tr>
<tr class="memdesc:a9698d142e2ca5e8ef2fc0a39521abdb2"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function disables Demosaic, GammaLut and VProcSS IPs.  <a href="#a9698d142e2ca5e8ef2fc0a39521abdb2">More...</a><br/></td></tr>
<tr class="separator:a9698d142e2ca5e8ef2fc0a39521abdb2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d0ec58c173704967ea5ce9df76e70e4"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#a2d0ec58c173704967ea5ce9df76e70e4">config_csi_cap_path</a> ()</td></tr>
<tr class="memdesc:a2d0ec58c173704967ea5ce9df76e70e4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Main function to initialize the video pipleline and process user input.  <a href="#a2d0ec58c173704967ea5ce9df76e70e4">More...</a><br/></td></tr>
<tr class="separator:a2d0ec58c173704967ea5ce9df76e70e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac06ed3176952d39fe028b9b13cdcbc38"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#ac06ed3176952d39fe028b9b13cdcbc38">InitImageProcessingPipe</a> (void)</td></tr>
<tr class="memdesc:ac06ed3176952d39fe028b9b13cdcbc38"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function Initializes Image Processing blocks wrt to selected resolution.  <a href="#ac06ed3176952d39fe028b9b13cdcbc38">More...</a><br/></td></tr>
<tr class="separator:ac06ed3176952d39fe028b9b13cdcbc38"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a34f1d639e40a40f098ceee99ce0857ac"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#a34f1d639e40a40f098ceee99ce0857ac">EnableCSI</a> (void)</td></tr>
<tr class="memdesc:a34f1d639e40a40f098ceee99ce0857ac"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables MIPI CSI IP.  <a href="#a34f1d639e40a40f098ceee99ce0857ac">More...</a><br/></td></tr>
<tr class="separator:a34f1d639e40a40f098ceee99ce0857ac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af9c3d5144d636d012b7ca70db1290ce2"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#af9c3d5144d636d012b7ca70db1290ce2">DisableCSI</a> (void)</td></tr>
<tr class="memdesc:af9c3d5144d636d012b7ca70db1290ce2"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function disables MIPI CSI IP.  <a href="#af9c3d5144d636d012b7ca70db1290ce2">More...</a><br/></td></tr>
<tr class="separator:af9c3d5144d636d012b7ca70db1290ce2"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3aea2e2961d7970a2bab30ad376b312b"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#a3aea2e2961d7970a2bab30ad376b312b">StartSensor</a> (void)</td></tr>
<tr class="memdesc:a3aea2e2961d7970a2bab30ad376b312b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function starts camera sensor to transmit captured video.  <a href="#a3aea2e2961d7970a2bab30ad376b312b">More...</a><br/></td></tr>
<tr class="separator:a3aea2e2961d7970a2bab30ad376b312b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3f6ed57e5466f68d54c672459f64f82a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#a3f6ed57e5466f68d54c672459f64f82a">InitVprocSs_Scaler</a> (int count)</td></tr>
<tr class="memdesc:a3f6ed57e5466f68d54c672459f64f82a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes and configures VProcSS IP for scalar mode with the given input and output width and height values.  <a href="#a3f6ed57e5466f68d54c672459f64f82a">More...</a><br/></td></tr>
<tr class="separator:a3f6ed57e5466f68d54c672459f64f82a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4932287ef4de8ff92f7fc108c86e91cd"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#a4932287ef4de8ff92f7fc108c86e91cd">ResetVprocSs_Scaler</a> (void)</td></tr>
<tr class="memdesc:a4932287ef4de8ff92f7fc108c86e91cd"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function resets VProcSS_scalar IP.  <a href="#a4932287ef4de8ff92f7fc108c86e91cd">More...</a><br/></td></tr>
<tr class="separator:a4932287ef4de8ff92f7fc108c86e91cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acd55ed8c8232ae426bf8d3d578e03741"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#acd55ed8c8232ae426bf8d3d578e03741">EnableDSI</a> (void)</td></tr>
<tr class="memdesc:acd55ed8c8232ae426bf8d3d578e03741"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function enables MIPI DSI SS.  <a href="#acd55ed8c8232ae426bf8d3d578e03741">More...</a><br/></td></tr>
<tr class="separator:acd55ed8c8232ae426bf8d3d578e03741"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae229cb3a71466b40c2ac44019d6a1795"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#ae229cb3a71466b40c2ac44019d6a1795">DisableDSI</a> (void)</td></tr>
<tr class="memdesc:ae229cb3a71466b40c2ac44019d6a1795"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function disables MIPI DSI SS.  <a href="#ae229cb3a71466b40c2ac44019d6a1795">More...</a><br/></td></tr>
<tr class="separator:ae229cb3a71466b40c2ac44019d6a1795"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a571466dbec30928cd622090965a7ef0f"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#a571466dbec30928cd622090965a7ef0f">InitDSI</a> (void)</td></tr>
<tr class="memdesc:a571466dbec30928cd622090965a7ef0f"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function programs MIPI DSI SS with the required timing paramters.  <a href="#a571466dbec30928cd622090965a7ef0f">More...</a><br/></td></tr>
<tr class="separator:a571466dbec30928cd622090965a7ef0f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0e803ea72f41466ba56bd78511996d8a"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#a0e803ea72f41466ba56bd78511996d8a">SetupDSI</a> (void)</td></tr>
<tr class="memdesc:a0e803ea72f41466ba56bd78511996d8a"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes MIPI DSI SS and gets config parameters.  <a href="#a0e803ea72f41466ba56bd78511996d8a">More...</a><br/></td></tr>
<tr class="separator:a0e803ea72f41466ba56bd78511996d8a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afcfc70f9d157a135796b76f00bef36c4"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#afcfc70f9d157a135796b76f00bef36c4">SelectDSIOutput</a> (void)</td></tr>
<tr class="memdesc:afcfc70f9d157a135796b76f00bef36c4"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function programs GPIO to 1 to select MIPI DSI SS Stream Path in AXI- Stream switch.  <a href="#afcfc70f9d157a135796b76f00bef36c4">More...</a><br/></td></tr>
<tr class="separator:afcfc70f9d157a135796b76f00bef36c4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a56f64108083ce8ee138d8f0448b28fd9"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#a56f64108083ce8ee138d8f0448b28fd9">SelectHDMIOutput</a> (void)</td></tr>
<tr class="memdesc:a56f64108083ce8ee138d8f0448b28fd9"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function programs GPIO to '0' to select HDMI Stream path in AXI-Stream switch.  <a href="#a56f64108083ce8ee138d8f0448b28fd9">More...</a><br/></td></tr>
<tr class="separator:a56f64108083ce8ee138d8f0448b28fd9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aaabb459a43a4fde3d6805e6d53c899c6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#aaabb459a43a4fde3d6805e6d53c899c6">DisableScaler</a> (void)</td></tr>
<tr class="memdesc:aaabb459a43a4fde3d6805e6d53c899c6"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function stops VProc_SS scalar IP.  <a href="#aaabb459a43a4fde3d6805e6d53c899c6">More...</a><br/></td></tr>
<tr class="separator:aaabb459a43a4fde3d6805e6d53c899c6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a846e1e9bf2b5575fd4dcd158ca6e044b"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#a846e1e9bf2b5575fd4dcd158ca6e044b">InitStreamMuxGpio</a> (void)</td></tr>
<tr class="memdesc:a846e1e9bf2b5575fd4dcd158ca6e044b"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes GPIO IP for Stream Switch selection and gets config parameters.  <a href="#a846e1e9bf2b5575fd4dcd158ca6e044b">More...</a><br/></td></tr>
<tr class="separator:a846e1e9bf2b5575fd4dcd158ca6e044b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9af254929ec07e0b8e29ff28e18ec709"><td class="memItemLeft" align="right" valign="top">u32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#a9af254929ec07e0b8e29ff28e18ec709">InitializeCsiRxSs</a> (void)</td></tr>
<tr class="memdesc:a9af254929ec07e0b8e29ff28e18ec709"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function initializes MIPI CSI2 RX SS and gets config parameters.  <a href="#a9af254929ec07e0b8e29ff28e18ec709">More...</a><br/></td></tr>
<tr class="separator:a9af254929ec07e0b8e29ff28e18ec709"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af976f4549bce7619166766cf79567e19"><td class="memItemLeft" align="right" valign="top">XVidC_ColorDepth&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#af976f4549bce7619166766cf79567e19">GetColorDepth</a> (u32 CsiDataFormat)</td></tr>
<tr class="memdesc:af976f4549bce7619166766cf79567e19"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function returns selected colour depth of MIPI CSI2 RX SS.  <a href="#af976f4549bce7619166766cf79567e19">More...</a><br/></td></tr>
<tr class="separator:af976f4549bce7619166766cf79567e19"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a27a98e798ed33a22a64a35485322bbdc"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#a27a98e798ed33a22a64a35485322bbdc">SetColorDepth</a> (void)</td></tr>
<tr class="memdesc:a27a98e798ed33a22a64a35485322bbdc"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function sets colour depth value getting from MIPI CSI2 RX SS.  <a href="#a27a98e798ed33a22a64a35485322bbdc">More...</a><br/></td></tr>
<tr class="separator:a27a98e798ed33a22a64a35485322bbdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae0af0a350e50fea795e63a85a698c2c7"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="pipeline__program_8c.html#ae0af0a350e50fea795e63a85a698c2c7">PrintPipeConfig</a> (void)</td></tr>
<tr class="memdesc:ae0af0a350e50fea795e63a85a698c2c7"><td class="mdescLeft">&#160;</td><td class="mdescRight">This function prints the video pipeline information.  <a href="#ae0af0a350e50fea795e63a85a698c2c7">More...</a><br/></td></tr>
<tr class="separator:ae0af0a350e50fea795e63a85a698c2c7"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">Function Documentation</h2>
<a class="anchor" id="a2d0ec58c173704967ea5ce9df76e70e4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int config_csi_cap_path </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Main function to initialize the video pipleline and process user input. </p>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS if MIPI example was successful else XST_FAILURE</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a21ee37887dab63622f890ae50ffaccee"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ConfigCSC </td>
          <td>(</td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function programs colour space converter with the given width and height. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">width</td><td>is Hsize of a packet in pixels. </td></tr>
    <tr><td class="paramname">height</td><td>is number of lines of a packet.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__menu_8h.html#ac06ed3176952d39fe028b9b13cdcbc38">InitImageProcessingPipe()</a>.</p>

</div>
</div>
<a class="anchor" id="a5cc10afcf20d68eb7ad335b5a6ef4c13"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ConfigDemosaic </td>
          <td>(</td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function programs colour space converter with the given width and height. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">width</td><td>is Hsize of a packet in pixels. </td></tr>
    <tr><td class="paramname">height</td><td>is number of lines of a packet.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__menu_8h.html#ac06ed3176952d39fe028b9b13cdcbc38">InitImageProcessingPipe()</a>.</p>

</div>
</div>
<a class="anchor" id="aa251d18c526e8bb62900891757ee18fb"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ConfigGammaLut </td>
          <td>(</td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>width</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>height</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function programs colour space converter with the given width and height. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">width</td><td>is Hsize of a packet in pixels. </td></tr>
    <tr><td class="paramname">height</td><td>is number of lines of a packet.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__menu_8h.html#ac06ed3176952d39fe028b9b13cdcbc38">InitImageProcessingPipe()</a>.</p>

</div>
</div>
<a class="anchor" id="af9c3d5144d636d012b7ca70db1290ce2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DisableCSI </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function disables MIPI CSI IP. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="group__csiss.html#ga0436d17627c2acd4ed542efbbb584fab">XCsiSs_Reset()</a>.</p>

</div>
</div>
<a class="anchor" id="ae229cb3a71466b40c2ac44019d6a1795"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DisableDSI </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function disables MIPI DSI SS. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="a9698d142e2ca5e8ef2fc0a39521abdb2"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DisableImageProcessingPipe </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function disables Demosaic, GammaLut and VProcSS IPs. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="aaabb459a43a4fde3d6805e6d53c899c6"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void DisableScaler </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function stops VProc_SS scalar IP. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="a34f1d639e40a40f098ceee99ce0857ac"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void EnableCSI </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function enables MIPI CSI IP. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="group__csiss.html#gaf30fdaf13ba08d8612f8e20ab21d8ff2">XCsiSs_Activate()</a>, <a class="el" href="group__csiss.html#ga3b35fe38bf1b55eb8107f892caf67103">XCsiSs_Configure()</a>, and <a class="el" href="group__csiss.html#ga0436d17627c2acd4ed542efbbb584fab">XCsiSs_Reset()</a>.</p>

</div>
</div>
<a class="anchor" id="acd55ed8c8232ae426bf8d3d578e03741"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void EnableDSI </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function enables MIPI DSI SS. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a2d3f9370f5f5df1e96d9d2ca884b746e"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FrmbufrdDoneCallback </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallbackRef</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is called when a Frame Buffer Read Done has occurred. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallbackRef</td><td>is a callback function reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a0d6479cb60c1d56d8f2b0bffd93dbe15">config_csi_cap_path()</a>.</p>

</div>
</div>
<a class="anchor" id="abf6ef522f31c833d9f931f5d9a8b976c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void FrmbufwrDoneCallback </td>
          <td>(</td>
          <td class="paramtype">void *&#160;</td>
          <td class="paramname"><em>CallbackRef</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function is called when a Frame Buffer Write Done has occurred. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CallbackRef</td><td>is a callback function reference.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a0d6479cb60c1d56d8f2b0bffd93dbe15">config_csi_cap_path()</a>.</p>

</div>
</div>
<a class="anchor" id="af976f4549bce7619166766cf79567e19"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">XVidC_ColorDepth GetColorDepth </td>
          <td>(</td>
          <td class="paramtype">u32&#160;</td>
          <td class="paramname"><em>CsiDataFormat</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function returns selected colour depth of MIPI CSI2 RX SS. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">CsiDataFormat</td><td>is video data format</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>ColorDepth returns colour depth value.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="pipeline__program_8h.html#a27a98e798ed33a22a64a35485322bbdc">SetColorDepth()</a>.</p>

</div>
</div>
<a class="anchor" id="a571466dbec30928cd622090965a7ef0f"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void InitDSI </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function programs MIPI DSI SS with the required timing paramters. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="a9af254929ec07e0b8e29ff28e18ec709"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 InitializeCsiRxSs </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function initializes MIPI CSI2 RX SS and gets config parameters. </p>
<p>This function programs MIPI CSI SS with the required timing paramters.</p>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS if successful or else XST_FAILURE.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="struct_x_csi_ss___config.html#accf7178f1f7fc0ba40fee2e61ca159bc">XCsiSs_Config::BaseAddr</a>, <a class="el" href="group__csiss.html#ga8fde229b1ad93697e0cf3f1710b2db7e">XCsiSs_CfgInitialize()</a>, and <a class="el" href="group__csiss.html#gaff8115edc1de28ca0524d489e736480c">XCsiSs_LookupConfig()</a>.</p>

</div>
</div>
<a class="anchor" id="a1f5ca95d93d51e6aeaa5b5e53b226ac5"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int InitIIC </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function initializes IIC controller and gets config parameters. </p>
<p>This function writes, reads, and verifies the data to the IIC EEPROM.</p>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS if successful else XST_FAILURE.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="ac06ed3176952d39fe028b9b13cdcbc38"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void InitImageProcessingPipe </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function Initializes Image Processing blocks wrt to selected resolution. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="pipeline__program_8c.html#a21ee37887dab63622f890ae50ffaccee">ConfigCSC()</a>, <a class="el" href="pipeline__program_8c.html#a5cc10afcf20d68eb7ad335b5a6ef4c13">ConfigDemosaic()</a>, and <a class="el" href="pipeline__program_8c.html#aa251d18c526e8bb62900891757ee18fb">ConfigGammaLut()</a>.</p>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a846e1e9bf2b5575fd4dcd158ca6e044b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 InitStreamMuxGpio </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function initializes GPIO IP for Stream Switch selection and gets config parameters. </p>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS if successful or else XST_FAILURE.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a3f6ed57e5466f68d54c672459f64f82a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void InitVprocSs_Scaler </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>count</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function initializes and configures VProcSS IP for scalar mode with the given input and output width and height values. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">count</td><td>is a flag value to initialize IP only once.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="ae0af0a350e50fea795e63a85a698c2c7"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void PrintPipeConfig </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function prints the video pipeline information. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a4932287ef4de8ff92f7fc108c86e91cd"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void ResetVprocSs_Scaler </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function resets VProcSS_scalar IP. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="afcfc70f9d157a135796b76f00bef36c4"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SelectDSIOutput </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function programs GPIO to 1 to select MIPI DSI SS Stream Path in AXI- Stream switch. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a56f64108083ce8ee138d8f0448b28fd9"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SelectHDMIOutput </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function programs GPIO to '0' to select HDMI Stream path in AXI-Stream switch. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a4e91fc11192ec41418d32f523f3ca435"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SensorReadData </td>
          <td>(</td>
          <td class="paramtype">u8 *&#160;</td>
          <td class="paramname"><em>BufferPtr</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>ByteCount</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function reads data from the IIC serial Camera Sensor into a specified buffer. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">BufferPtr</td><td>contains the address of the data buffer to be filled. </td></tr>
    <tr><td class="paramname">ByteCount</td><td>contains the number of bytes in the buffer to be read.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS if successful else XST_FAILURE.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="pipeline__program_8c.html#a5029f37b87848470fe3f36f722c75b90">SensorWriteData()</a>.</p>

<p>Referenced by <a class="el" href="pipeline__program_8h.html#a9909ac1b3c8acfa727d8b5d0bd7eda39">SetupCameraSensor()</a>.</p>

</div>
</div>
<a class="anchor" id="a5029f37b87848470fe3f36f722c75b90"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SensorWriteData </td>
          <td>(</td>
          <td class="paramtype">u16&#160;</td>
          <td class="paramname"><em>ByteCount</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function writes a buffer of data to the IIC serial sensor. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">ByteCount</td><td>is the number of bytes in the buffer to be written.</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS if successful else XST_FAILURE.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="pipeline__program_8c.html#a4e91fc11192ec41418d32f523f3ca435">SensorReadData()</a>, <a class="el" href="pipeline__program_8h.html#a9909ac1b3c8acfa727d8b5d0bd7eda39">SetupCameraSensor()</a>, and <a class="el" href="pipeline__program_8h.html#a3aea2e2961d7970a2bab30ad376b312b">StartSensor()</a>.</p>

</div>
</div>
<a class="anchor" id="a27a98e798ed33a22a64a35485322bbdc"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SetColorDepth </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets colour depth value getting from MIPI CSI2 RX SS. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a9909ac1b3c8acfa727d8b5d0bd7eda39"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int SetupCameraSensor </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function setup Camera sensor programming wrt resolution selected. </p>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS if successful else XST_FAILURE.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
<a class="anchor" id="a0e803ea72f41466ba56bd78511996d8a"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">u32 SetupDSI </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function initializes MIPI DSI SS and gets config parameters. </p>
<p>This function programs MIPI DSI SS with the required timing paramters.</p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

</div>
</div>
<a class="anchor" id="af24a60bdd8657b70cd5138a7db89ef6c"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void SetupIICIntrHandlers </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function sets send, receive and error handlers for IIC interrupts. </p>
<dl class="section return"><dt>Returns</dt><dd>None.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>References <a class="el" href="function__prototype_8c.html#a87955d201525bc8c99bfb6a31494fca2">ReceiveHandler()</a>, <a class="el" href="function__prototype_8c.html#ab74027af1cdd114fdeadd58f297e9533">SendHandler()</a>, and <a class="el" href="function__prototype_8c.html#ae2037c1d561c098886db8a61be2da667">StatusHandler()</a>.</p>

</div>
</div>
<a class="anchor" id="a3aea2e2961d7970a2bab30ad376b312b"></a>
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">int StartSensor </td>
          <td>(</td>
          <td class="paramtype">void&#160;</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This function starts camera sensor to transmit captured video. </p>
<dl class="section return"><dt>Returns</dt><dd>XST_SUCCESS if successful else XST_FAILURE.</dd></dl>
<dl class="section note"><dt>Note</dt><dd>None. </dd></dl>

<p>Referenced by <a class="el" href="xmipi__example_8c.html#a840291bc02cba5474a4cb46a9b9566fe">main()</a>.</p>

</div>
</div>
</div><!-- contents -->
</div><!-- doc-content -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
	<p class="footer">&copy; Copyright 2015-2022 Xilinx, Inc. All Rights Reserved.</p>
	<p class="footer">&copy; Copyright 2022-2023 Advanced Micro Devices, Inc. All Rights Reserved.</p>
</div>
</body>
</html>
